local P = NewClass(BaseTablePool, ClassFromFile(...))

P.obj_list_map = {}

function P:Create(class)
	if not class then
		return
	end

	local obj_list = self.obj_list_map[class]

	local retObj = nil
	if obj_list and #obj_list > 0 then
		retObj = obj_list[#obj_list]
		table.remove(obj_list)
	else
		if not class then
			return nil
		end

		retObj = New(class)
	end

	return retObj
end

function P:Recycle(t)
	if not t then
		return
	end

	-- local class = t.super
	-- local obj_list = self.obj_list_map[class]
	-- if obj_list == nil then
	-- 	obj_list = {}
	-- end
	-- table.insert(obj_list, t)
end
